import React, { Component } from 'react';
import logo from './logo.svg';
import './App.css';
import Component1 from './components/compnent1'
import Hooks from './components/hooks';
//import impFile from './components/requirejs';
let reqFile = require("./components/requirejs");

    console.log("require file: ", reqFile)
console.log(reqFile.name)
reqFile.updateName('update name')
console.log(reqFile.name)

/*
console.log("import file : ", impFile);
impFile.updateName("import upate name")
console.log(impFile.name)
*/

class App extends Component{
  constructor(props) {
    super(props)
  }

  render(){
    return <div><Component1 /><Hooks /></div>
  }
}


export default App;
